import Vue from 'vue';
import App from './App';
import uView from '@/components/uview-ui';
import store from '@/store';
// 注册全局组件
import MescrollBody from '@/components/mescroll-uni/mescroll-body.vue';
import MescrollUni from '@/components/mescroll-uni/mescroll-uni.vue';
Vue.component('mescroll-body', MescrollBody);
Vue.component('mescroll-uni', MescrollUni);

Vue.use(uView);
uni.$u.config.unit = 'rpx';

Vue.config.productionTip = false;
App.mpType = 'app';

let vuexStore = require('@/store/$u.mixin.js');
let mpShare = require('@/components/uview-ui/libs/mixin/mpShare.js');
Vue.mixin(vuexStore);
Vue.mixin(mpShare);

// 安卓APP
// 别名：xingyunfualias
// 密码：xingyunfu123456.
// 包名：com.whsh.xingyunfu

const app = new Vue({
  store,
  ...App,
});
app.$mount();
